<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			div {
				width: 100px;
				height: 100px;
				background-color: deeppink;
				/* cursor:hand; */
				cursor:pointer;
			}
		</style>
	</head>
	<body>
		<div id="box">
			
		</div>
		<script type="text/javascript">
			var div = document.getElementById("box");
			div.onclick = function () {
				alert(1);
				
			}
		</script>
	</body>
</html>
